import Vue from 'vue'
import Vuex from 'vuex'
import commonAction from './common.action'
import {Common} from './common.state'
Vue.use(Vuex)
/**
 * 公共数据state
 */

const store = new Vuex.Store({
	state: {
		common: <Common> {
			wxOpenId: 'wxdf92f1f27a253e39',
			idCardCodeHid:'',
			idCardNameHid:'',
			token:'',
			dlzh:'',
			realname:false,
			saveUrl:'',
			appid:'wxb2a029a9562935f6'
		},
	},
	mutations: {
		
	},
	actions: Object.assign({}, commonAction)
})


export default store
